package cn.wolfcode.car.business.service;


import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.query.CarPackageAuditQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.InputStream;
import java.util.List;

/**
 * 养修服务单项接口
 */
public interface ICarPackageAuditService extends IService<CarPackageAudit> {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<CarPackageAudit> query(CarPackageAuditQuery qo);


    /**
     * 撤销
     * @param id
     */
    void cancelApply(long id);

    /**
     * 查看流程进度
     * @param id
     * @return
     */
    InputStream processImg(long id);

    /**
     * 审核同意
     * @param id
     * @param auditStatus
     * @param info
     */
    void audit(long id, Integer auditStatus, String info);


    /**
     * 软删除
     * @param id
     */
/*    void del(Long id);*/

}
